package com.sky.service;

import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;
import com.sky.vo.EmployeeLoginVO;

public interface EmployeeService {
    // 员工登录
    EmployeeLoginVO login(String username, String password);
    // 添加员工
    void save(EmployeeDTO emp);
    // 员工分页查询
    PageResult pageQuery(EmployeePageQueryDTO queryDTO);

    void statusChange(long id, Integer status);
    // 根据id查询员工信息
    Employee getById(long id);
    // 根据id编辑员工信息
    void update(EmployeeDTO employeeDTO);
}
